<?php

use Dcat\Admin\Admin;
use Dcat\Admin\Grid;
use Dcat\Admin\Form;
use Dcat\Admin\Grid\Filter;
use Dcat\Admin\Show;

/**
 * Dcat-admin - admin builder based on Laravel.
 * @author jqh <https://github.com/jqhph>
 *
 * Bootstraper for Admin.
 *
 * Here you can remove builtin form field:
 *
 * extend custom field:
 * Dcat\Admin\Form::extend('php', PHPEditor::class);
 * Dcat\Admin\Grid\Column::extend('php', PHPEditor::class);
 * Dcat\Admin\Grid\Filter::extend('php', PHPEditor::class);
 *
 * Or require js and css assets:
 * Admin::css('/packages/prettydocs/css/styles.css');
 * Admin::js('/packages/prettydocs/js/main.js');
 *
 */

/*
 * 2021/7/15
 * 14:04
 * User: 2650332702@qq.com
 */

$site_url = admin_setting('weburl');
$logo = '<img src="'.admin_setting('logo').'"> &nbsp;'.admin_setting('webname');
$logo_mini = '<img src="'.admin_setting('logo').'">';

config([
//   'app.url'=>admin_setting('weburl'),
//   'admin.title'=>admin_setting('webname'),
//   'admin.name'=>admin_setting('webname'),
   'admin.logo'=>$logo,
   'admin.logo-mini'=>$logo_mini,
//   'admin.layout.body_class'=>'default',
//   'admin.layout.sidebar_style'=>admin_setting('sidebar_style'),
//   'admin.layout.dark_mode_switch'=>true,
//   'admin.layout.color'=>'bule-light',
//   'admin.layout.horizontal_menu'=>admin_setting('horizontal_menu'),
]);






